package org.fast.develop.logicflow.task;

import lombok.extern.slf4j.Slf4j;
import org.fast.develop.logicflow.runtime.task.delegate.DelegateTask;
import org.fast.develop.logicflow.runtime.task.delegate.TaskListener;

/**
 * @author 莫寅
 * @createTime 2022-11-24 21:29
 * @desc：
 */
@Slf4j
public class UserTaskListener implements TaskListener {


    @Override
    public void notify(DelegateTask delegateTask) {

        log.info("name:{}", delegateTask.getResourceProperties());
        log.info("testTaskListener的变量:{}", delegateTask.getVariableInstances());
    }
}
